package net.yla.smartbus.module.ba.right.roles.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import net.yla.smartbus.core.annotation.PojoCastToJson;

/**
 * @Date: 2020-08-19 17:28
 * @Author: Being Nobody
 * @Version: 1.0
 */
@Data
public class RolesDO implements Serializable {
    @PojoCastToJson("id")
    private Integer roleId;
    @PojoCastToJson("members")
    private Byte[] members;

    @PojoCastToJson("memberCount")
    private Integer memberCount;

    private Integer apply;

    @PojoCastToJson("name")
    private String roleName;
    @PojoCastToJson("remarks")
    private String remarks;
    @PojoCastToJson("inherits")
    private Integer inherits;

    private Integer platformId;

    private Long uniqueId;

    private Integer version;

    private Integer hidden;
    @PojoCastToJson("disabled")
    private Integer disabled;

    private Integer sortOrder;
    @PojoCastToJson("creationTime")
    private LocalDateTime creationTime;

    private LocalDateTime lastModifyTime;

    private Integer flags;

    private static final long serialVersionUID = 1L;
}
